#pragma once
#include "DuplicationThread.h"
#include "Encoder.h"

class VideoFrameReceiver
{
public:
	VideoFrameReceiver();
	int Init(DuplicationThread *dupThread, Encoder *encoder);
	void Uninit();
private:
	void Run(DuplicationThread* dupThread, Encoder* encoder);

	std::atomic_bool m_isRuning;
	std::thread m_worker;
};

